Skip to content

Conversation

yuvrajinbhakti
Copy link

@yuvrajinbhakti yuvrajinbhakti commented Feb 11, 2025

Fixes Issue

My PR closes #661

πŸ‘¨β€πŸ’» Changes proposed(What did you do ?)

βœ”οΈ Check List (Check all the applicable boxes)

  • Moved all socket-related functionality from BuddyMatcher component into a separate buddySocket.js file
  • Created a new custom hook useBuddySocket to encapsulate socket logic
  • Fixed JSX syntax issues by ensuring proper file extensions
  • Improved code organization and maintainability
  • Removed JSX content from .js files to prevent syntax errors

βœ”οΈ Check List

  • [βœ”οΈ] My code follows the code style of this project.
  • [βœ”οΈ] This PR does not contain plagiarized content.
  • [βœ”οΈ] The title and description of the PR is clear and explains the approach.

Note to reviewers

  • The main functional change is moving socket logic to a separate file
  • Special attention needed for the socket event cleanup in useEffect
  • Verified that all socket events are properly handled
  • Ensured no JSX syntax in .js files
  • No change in core functionality, this is purely a refactoring PR

Copy link

vercel bot commented Feb 11, 2025

@yuvrajinbhakti is attempting to deploy a commit to the dunsin's projects Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR Compliance Checks Passed!

Copy link
Owner

@Dun-sin Dun-sin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR, can you share a recording of the working software? With you chatting

import Profile from './pages/Profile';
import ProtectedRoutes from 'components/ProtectedRoutes';
import ReactGA from 'react-ga4';
// import ReactGA from 'react-ga4';
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please uncomment this

@Dun-sin
Copy link
Owner

Dun-sin commented Mar 4, 2025

@yuvrajinbhakti are you still interested in this? i asked for a recording of the working project on your local computer with your change, please get it done by friday else i would have to close your PR. Thanks

@yuvrajinbhakti
Copy link
Author

@Dun-sin When attempting to install dependencies for the backend (in the server folder), the required dependency is not available on npm.
image

@t-trafer
Copy link
Contributor

t-trafer commented Mar 4, 2025

lgtm

@Dun-sin
Copy link
Owner

Dun-sin commented Mar 5, 2025

@Dun-sin When attempting to install dependencies for the backend (in the server folder), the required dependency is not available on npm. image

@Dun-sin When attempting to install dependencies for the backend (in the server folder), the required dependency is not available on npm. image

thanks for letting me know

@Dun-sin
Copy link
Owner

Dun-sin commented Mar 5, 2025

@Dun-sin When attempting to install dependencies for the backend (in the server folder), the required dependency is not available on npm. image

@Dun-sin When attempting to install dependencies for the backend (in the server folder), the required dependency is not available on npm. image

thanks for letting me know

@yuvrajinbhakti here's a walkaround for you, while we get that fix, remove that from your own package.json and then run npm install, if you don't set up a profile your server shouldn't crash

@yuvrajinbhakti
Copy link
Author

Sure, Will explore this workaround.

@Dun-sin
Copy link
Owner

Dun-sin commented Mar 17, 2025

Hi @yuvrajinbhakti this has been on for too long, will close it. If you think you can work on something else in the time given, feel free to comment on that new issue

@Dun-sin Dun-sin closed this Mar 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[OTHER] move all socket function into a different file
3 participants